// TODO: place somewere near the beginning of your programm

// TODO: BEGIN - using for memory leeking
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>

#ifdef _DEBUG
   #ifndef DBG_NEW
      #define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
      #define new DBG_NEW
   #endif
#endif  // _DEBUG
// TODO: END - using for memory leeking




// TODO: place somewere in the beginning of main() function

   // TODO: using for memory leeking
   _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
   // end TODO: using for memory leeking